package com.rd.student.ruanjian.class1.duhang.NewNew0803;

public class D implements Comparable{
    int age;

    public D(int age) {
        this.age = age;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return "D{" +
                "age=" + age +
                '}';
    }

    @Override
    public int compareTo(Object o) {
        return 0;
    }
}
